|
class UVHelper |
|
Parent: Object |
|
|
Methods: get_front_UVQ, get_back_UVQ |
|
|
Sample Code: TextureWriter.rb |
|
|
Instance Methods |
|
get_front_UVQ |
|
The get_front_UVQ method is used to get the UV coordinates for a front of a face. |
|
Syntax: |
|
point = uvhelper.get_front_UVQ point |
|
Arguments: |
|
point - a Point3D object containing one of the 3D vertexes of the face. |
|
Return Value: |
|
point - a Point3D containing the UV coordinates where the X value is the U value, the Y value is the V value and the Z value is a Q value (which is not used). |
|
Comments: |
|
|
|
Example: |
|
ent.outer_loop.vertices.each do |vert| |
|
get_back_UVQ |
|
The get_back_UVQ method is used to get the UV coordinates for a back of a face. |
|
Syntax: |
|
point = uvhelper.get_back_UVQ point |
|
Arguments: |
|
point - a Point3D object containing one of the 3D vertexes of the face. |
|
Return Value: |
|
point - a Point3D containing the UV coordinates where the X value is the U value, the Y value is the V value and the Z value is a Q value (which is not used). |
|
Comments: |
|
|
|
Example: |
|
ent.outer_loop.vertices.each do |vert| |